local xiancu_chooseCard = fk.CreateSkill{
  name = "xiancu_chooseCard"
}
xiancu_chooseCard:addEffect("active",{
  mute = true,
  card_num = 2,
  card_filter = function (self, player, to_select, selected)
    local suits = Self:getMark("@xiaobai__xiancu-turn")
    if type(suits) ~= "table" then
      suits = {}
    end
    if selected == nil or #selected == 0 then
      return not table.contains(suits,Fk:getCardById(to_select):getSuitString(true))
    end
    local c = Fk:cloneCard("peach")
    c:addSubcards(selected)
    c:addSubcard(to_select)
    return #selected < 2 and (not table.contains(suits,Fk:getCardById(to_select):getSuitString(true))) and not Self:prohibitUse(c)
  end,
})

return xiancu_chooseCard